Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Errors
35 344

Files

Files Errors
/jdo/JDOContext.java 10
/jdo/JDOUtil.java 39
/jibx/JibxUtil.java 32
/util/Base64.java 70
/util/Base64Utils.java 9
/util/PropertiesReader.java 19
/util/ResourcesReader.java 16
/util/StyleReader.java 4
/util/XParameters.java 16
/util/exception/JavaClassRefectException.java 10
/util/exception/LogicException.java 6
/util/exception/PropertiesFileReadException.java 7
/util/exception/UtilException.java 6
/util/exception/XMLException.java 6
/xml/XMLHelper.java 94

/jdo/JDOContext.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Class JDOContext should be declared as final. 54
Unable to get class information for PropertiesFileReadException. 75
Unable to get class information for PropertiesFileReadException. 89
Inner assignments should be avoided. 93
Parameter props should be final. 104
Expected @throws tag for 'PropertiesFileReadException'. 114
Unable to get class information for PropertiesFileReadException. 114
Must have at least one statement. 155

/jdo/JDOUtil.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Class JDOUtil should be declared as final. 55
'{' is followed by whitespace. 59
Parameter pm should be final. 77
Parameter obj should be final. 77
Parameter transaction should be final. 93
Parameter obj should be final. 93
Parameter pm should be final. 107
Parameter clazz should be final. 107
Parameter objId should be final. 108
Unable to get class information for UtilException. 109
Parameter transaction should be final. 127
Parameter clazz should be final. 127
Parameter objId should be final. 128
Unable to get class information for UtilException. 129
Parameter pm should be final. 145
Parameter cs should be final. 145
Unable to get class information for UtilException. 146
Parameter pm should be final. 165
Parameter cs should be final. 165
Parameter order should be final. 166
Unable to get class information for UtilException. 167
Parameter pm should be final. 188
Parameter cs should be final. 188
Parameter order should be final. 189
Parameter filter should be final. 189
Unable to get class information for UtilException. 190
Parameter transaction should be final. 213
Parameter clazz should be final. 213
Parameter objId should be final. 214
Unable to get class information for UtilException. 215
Line is longer than 80 characters. 216
Parameter pm should be final. 230
Parameter clazz should be final. 230
Parameter id should be final. 231
Unable to get class information for UtilException. 232
Line is longer than 80 characters. 239
Line is longer than 80 characters. 240

/jibx/JibxUtil.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Utility classes should not have a public or default constructor. 57
Parameter obj should be final. 81
Parameter xslt should be final. 81
Parameter indent should be final. 81
Parameter encoding should be final. 82
Parameter out should be final. 82
Redundant throws: 'FileNotFoundException' is subclass of 'JiBXException'. 84
Unable to get class information for JiBXException. 84
Unable to get class information for JiBXException. 84
Parameter obj should be final. 106
Parameter xslt should be final. 106
Parameter out should be final. 107
Redundant throws: 'FileNotFoundException' is subclass of 'JiBXException'. 109
Unable to get class information for JiBXException. 109
Unable to get class information for JiBXException. 109
'4' is a magic number. 110
Line is longer than 80 characters. 123
Parameter obj should be final. 123
Parameter xslt should be final. 123
Parameter fileName should be final. 123
Redundant throws: 'FileNotFoundException' is subclass of 'JiBXException'. 124
Unable to get class information for JiBXException. 124
Unable to get class information for JiBXException. 124
'4' is a magic number. 125
Parameter cs should be final. 138
Parameter ins should be final. 138
Unable to get class information for JiBXException. 139
Parameter cs should be final. 156
Parameter fileName should be final. 156
Unable to get class information for JiBXException. 157

/util/Base64.java

Error Line
Line does not match expected header line of ' GNU GENERAL PUBLIC LICENSE'. 1
Using the '.*' form of import should be avoided - java.io.*. 41
Utility classes should not have a public or default constructor. 53
Line is longer than 80 characters. 61
'256' is a magic number. 69
'256' is a magic number. 72
'26' is a magic number. 81
'52' is a magic number. 85
'62' is a magic number. 88
'63' is a magic number. 89
Expected an @return tag. 102
Parameter data should be final. 102
Expected @param tag for 'data'. 102
Expected @throws tag for 'UtilException'. 102
Unable to get class information for UtilException. 102
'255' is a magic number. 112
'4' is a magic number. 121
'3' is a magic number. 121
'4' is a magic number. 123
'3' is a magic number. 123
'4' is a magic number. 127
'255' is a magic number. 139
Avoid inline conditionals. 139
'6' is a magic number. 142
'6' is a magic number. 143
'8' is a magic number. 146
'8' is a magic number. 147
Line is longer than 80 characters. 148
'0xff' is a magic number. 148
Line is longer than 80 characters. 152
Line is longer than 80 characters. 153
Line is longer than 80 characters. 154
Line is longer than 80 characters. 155
Parameter data should be final. 178
'3' is a magic number. 179
'4' is a magic number. 179
'3' is a magic number. 185
'4' is a magic number. 185
'0xFF' is a magic number. 189
'8' is a magic number. 190
'0xFF' is a magic number. 193
'8' is a magic number. 197
'0xFF' is a magic number. 200
'3' is a magic number. 204
Avoid inline conditionals. 204
'0x3F' is a magic number. 204
'64' is a magic number. 204
'6' is a magic number. 205
Avoid inline conditionals. 206
'0x3F' is a magic number. 206
'64' is a magic number. 206
'6' is a magic number. 207
'0x3F' is a magic number. 208
'6' is a magic number. 209
'0x3F' is a magic number. 210
Missing a Javadoc comment. 220
Parameter args should be final. 220
Line is longer than 80 characters. 240
Parameter file should be final. 268
Unable to get class information for UtilException. 268
'16384' is a magic number. 275
Parameter file should be final. 300
Unable to get class information for UtilException. 300
'16384' is a magic number. 307
Parameter file should be final. 331
Parameter data should be final. 331
Unable to get class information for UtilException. 332
Parameter file should be final. 351
Parameter data should be final. 351
Unable to get class information for UtilException. 352

/util/Base64Utils.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Utility classes should not have a public or default constructor. 52
Parameter object should be final. 64
Unable to get class information for UtilException. 64
Line is longer than 80 characters. 67
Parameter object should be final. 84
Expected @param tag for 'object'. 84
Unable to get class information for UtilException. 84

/util/PropertiesReader.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Parameter propertiesFile should be final. 73
Unable to get class information for PropertiesFileReadException. 74
Parameter stream should be final. 85
Unable to get class information for PropertiesFileReadException. 86
Method 'getKeys' is not designed for extension - needs to be abstract, final or empty. 103
Method 'getProperties' is not designed for extension - needs to be abstract, final or empty. 112
Parameter fileName should be final. 125
Unable to get class information for PropertiesFileReadException. 126
Method 'getProperty' is not designed for extension - needs to be abstract, final or empty. 139
Parameter propertyName should be final. 139
Method 'getPropertyMap' is not designed for extension - needs to be abstract, final or empty. 148
Method 'buildFromFile' is not designed for extension - needs to be abstract, final or empty. 167
Parameter file should be final. 167
Unable to get class information for PropertiesFileReadException. 168
Method 'buildFromProperties' is not designed for extension - needs to be abstract, final or empty. 193
Parameter file should be final. 193
Unable to get class information for PropertiesFileReadException. 194

/util/ResourcesReader.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Utility classes should not have a public or default constructor. 51
Name 'resource_bundle' must match pattern '^[a-z][a-zA-Z0-9]*$'. 55
Parameter encoding should be final. 73
Parameter encoding should be final. 100
Parameter locale should be final. 117
'locale' hides a field. 117
Parameter encoding should be final. 140
Parameter key should be final. 186
Parameter key should be final. 209
Parameter lookup should be final. 209
'{' is followed by whitespace. 215
Parameter key should be final. 234
Parameter lookup should be final. 234
Parameter encoding should be final. 262

/util/StyleReader.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Utility classes should not have a public or default constructor. 47
Parameter propertyName should be final. 87

/util/XParameters.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Method 'getBooleanProperty' is not designed for extension - needs to be abstract, final or empty. 57
Parameter string should be final. 57
Must have at least one statement. 62
Method 'getIntProperty' is not designed for extension - needs to be abstract, final or empty. 75
Parameter pro should be final. 75
Must have at least one statement. 84
Method 'getLongProperty' is not designed for extension - needs to be abstract, final or empty. 97
Parameter pro should be final. 97
Must have at least one statement. 106
Method 'setProperty' is not designed for extension - needs to be abstract, final or empty. 120
Parameter key should be final. 120
Parameter value should be final. 120
Method 'getProperty' is not designed for extension - needs to be abstract, final or empty. 135
Parameter key should be final. 135

/util/exception/JavaClassRefectException.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Parameter message should be final. 60
Expected @param tag for 'message'. 60
Parameter cause should be final. 69
Expected @param tag for 'cause'. 69
Parameter message should be final. 79
Expected @param tag for 'message'. 79
Parameter cause should be final. 79
Expected @param tag for 'cause'. 79

/util/exception/LogicException.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Parameter message should be final. 60
Parameter cause should be final. 69
Parameter message should be final. 79
Parameter cause should be final. 79

/util/exception/PropertiesFileReadException.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 19
Line is longer than 80 characters. 21
Parameter message should be final. 60
Parameter cause should be final. 69
Parameter message should be final. 79
Parameter cause should be final. 79

/util/exception/UtilException.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Parameter message should be final. 60
Parameter cause should be final. 69
Parameter message should be final. 79
Parameter cause should be final. 79

/util/exception/XMLException.java

Error Line
Missing a header - not enough lines in file. 1
Line is longer than 80 characters. 21
Parameter message should be final. 60
Parameter cause should be final. 69
Parameter message should be final. 79
Parameter cause should be final. 79

/xml/XMLHelper.java

Error Line
Line does not match expected header line of ' GNU GENERAL PUBLIC LICENSE'. 1
Line is longer than 80 characters. 21
Utility classes should not have a public or default constructor. 87
Parameter doc should be final. 99
Unable to get class information for XMLException. 100
Parameter root should be final. 133
Line is longer than 80 characters. 149
Line is longer than 80 characters. 152
Line is longer than 80 characters. 157
Line is longer than 80 characters. 163
Line is longer than 80 characters. 165
Line is longer than 80 characters. 168
Line is longer than 80 characters. 178
Line is longer than 80 characters. 180
Line is longer than 80 characters. 199
Line is longer than 80 characters. 201
Line is longer than 80 characters. 203
Line is longer than 80 characters. 207
Line is longer than 80 characters. 212
Line is longer than 80 characters. 215
Line is longer than 80 characters. 217
Line is longer than 80 characters. 220
Line is longer than 80 characters. 229
Line is longer than 80 characters. 230
Line is longer than 80 characters. 233
Missing a Javadoc comment. 237
Parameter args should be final. 237
'3' is a magic number. 238
Name 'xml_in' must match pattern '^[a-z][a-zA-Z0-9]*$'. 243
Name 'xsl_in' must match pattern '^[a-z][a-zA-Z0-9]*$'. 244
Name 'xml_out' must match pattern '^[a-z][a-zA-Z0-9]*$'. 245
'5' is a magic number. 247
'3' is a magic number. 251
'3' is a magic number. 251
'3' is a magic number. 252
'3' is a magic number. 270
'4' is a magic number. 272
'3' is a magic number. 278
'3' is a magic number. 278
'4' is a magic number. 279
'4' is a magic number. 279
'3' is a magic number. 288
'3' is a magic number. 291
'4' is a magic number. 291
'4' is a magic number. 294
Parameter mergeToXML should be final. 309
Parameter mergeFromXML should be final. 309
Parameter childrenOnly should be final. 310
Parameter text should be final. 337
Parameter fileName should be final. 337
Unable to get class information for XMLException. 338
Parameter doc should be final. 361
Parameter stream should be final. 361
Unable to get class information for XMLException. 362
Parameter doc should be final. 384
Parameter fileName should be final. 384
Unable to get class information for XMLException. 385
Parameter f should be final. 411
Unable to get class information for XMLException. 411
Line is longer than 80 characters. 413
Parameter source should be final. 437
Unable to get class information for XMLException. 438
Parameter url should be final. 453
Unable to get class information for XMLException. 453
Line is longer than 80 characters. 455
Parameter url should be final. 480
Unable to get class information for XMLException. 481
Parameter xmlDoc should be final. 495
Parameter xslDoc should be final. 495
Unable to get class information for XMLException. 496
Line is longer than 80 characters. 499
Parameter xmlDoc should be final. 536
Parameter xslDoc should be final. 536
Parameter params should be final. 537
Unable to get class information for XMLException. 538
Line is longer than 80 characters. 541
Parameter xmlDoc should be final. 580
Parameter xslFile should be final. 580
Unable to get class information for XMLException. 581
Line is longer than 80 characters. 584
Parameter xmlDoc should be final. 619
Parameter xslFile should be final. 619
Parameter params should be final. 620
Unable to get class information for XMLException. 621
Line is longer than 80 characters. 624
Parameter date1 should be final. 661
Parameter date2 should be final. 661
'1000.0' is a magic number. 665
Parameter url should be final. 679
Unable to get class information for XMLException. 679
Parameter is should be final. 696
Unable to get class information for XMLException. 697
Line is longer than 80 characters. 718
Line is longer than 80 characters. 719